Try to restore the initial "daemon" frame when a display goes down
authorPo Lu <luangruo@yahoo.com>
Thu, 14 Jul 2022 10:47:10 +0000 (18:47 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 14 Jul 2022 10:49:19 +0000 (18:49 +0800)
commitade1238bce1cf69ebce8809a2d73cb92db94b977
tree2eee5f604958e5bead901ce67c5299c935b98775
parent2a05479c221d4a13b15ed731e4eb1c0de99e97ed
Try to restore the initial "daemon" frame when a display goes down

* src/xterm.c (x_try_restore_frame): New function.
(x_connection_closed): Call it if selected_frame is nil.
src/xterm.c